﻿using SpiderMaster.AspNet.TradingSystem.BusinessLogicLayer;

namespace SpiderMaster.AspNet
{
    public sealed partial class TradingCenter
    {
        public string GetAdministrationEMailLink()
        {
            System.Text.StringBuilder mailLink = new System.Text.StringBuilder("<a href=\"mailto:");

            try { mailLink.Append(SiteSettings.Current.SiteEmailAddress); }
            catch { mailLink.Append("#"); }

            mailLink.Append("\">" + TradingCenter.Current.ApplicationName.Add(" System Administrator</a>"));
            return mailLink.ToString();
        }
    }
}